package cn.hs.service;

import cn.hs.entity.Heartknowledge;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HeartknowledgeService {
    PageInfo findAll(Heartknowledge heartknowledge, Integer pageNum, Integer pageSize);

   int insert(Heartknowledge heartknowledge);
  int  updateByPrimaryKeySelective(Heartknowledge heartknowledge);
   int updateByPrimaryKey(Heartknowledge heartknowledge);
  int  deleteByPrimaryKey(int id);

    Heartknowledge findById(Integer id);
}
